package routes

import (
	"github.com/MQEnergy/go-skeleton/internal/app/controller/backend"
	"github.com/gofiber/fiber/v2"
)

func InitBackendNewGroup(r fiber.Router, handles ...fiber.Handler) {
	router := r.Group("backend-new", handles...)
	{
		router.Post("/company/create", backend.Company.Add)
		router.Post("/company/edit", backend.Company.Edit)
		router.Get("/company/list", backend.Company.List)
		router.Get("/company/detail", backend.Company.Detail)
	}
}
